<!--
 * @Author: luojianfeng
 * @Date: 2023-09-20 15:17:06
 * @LastEditTime: 2024-02-04 15:53:03
 * @LastEditors: luojianfeng
 * @Description: 
-->
<template>
  <view class="content">
    <!-- <image class="logo" src="/static/logo.png" /> -->
    <view class="text-area">
      <text class="title">{{ title }}</text>
    </view>
    <uni-badge text="33"></uni-badge>
    <!-- <uni-badge text="2" type="success" @click="bindClick"></uni-badge> -->
    <!-- <uni-badge text="3" type="primary" :inverted="true"></uni-badge> -->
  </view>
</template>

<script setup lang="ts">
import { testGet } from '@/apis/test'
import { onShow } from '@dcloudio/uni-app'

// import { ref } from 'vue'
const title = ref('uni-app模版')
onShow(() => {
  testGet('').then((res: any) => {
    console.log(res)
  })
})
</script>

<style>
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.text-area {
  display: flex;
  justify-content: center;
}

.title {
  font-size: 36rpx;
  color: #8f8f94;
}
</style>
